package com.service.Impl;

import com.dao.SystemUserMapper;
import com.entity.pojo.SystemUser;
import com.service.SystemUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemUserServiceImpl implements SystemUserService {
    @Autowired
    SystemUserMapper systemUserMapper;

    @Override
    public int deleteByPrimaryKey(String userId) {
        return 0;
    }

    @Override
    public int insert(SystemUser record) {
        return 0;
    }

    @Override
    public int insertSelective(SystemUser record) {
        return 0;
    }

    @Override
    public SystemUser selectByPrimaryKey(String username, String userPwd) {
        return systemUserMapper.selectByPrimaryKey(username,userPwd);
    }

    @Override
    public int updateByPrimaryKeySelective(SystemUser record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(SystemUser record) {
        return 0;
    }

    @Override
    public List<SystemUser> findAll() {
        return systemUserMapper.findAll();
    }
}
